using UnityEngine;

[CreateAssetMenu(fileName = "New DefencePotion", menuName = "Inventory/PowerUpItem/DefencePotion(防御力)")]
public class DefencePotion : PowerUpItem
{
    public DefencePotion()
    {
        defenseBoost = 1f;
    }

    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，防御力增加了 {defenseBoost} 点。");
    }
}